package cn.actoncode.boot.module.ai.convert.intelligentagent;

import cn.actoncode.boot.module.ai.controller.app.ability.vo.AbilityRespVO;
import cn.actoncode.boot.module.ai.dal.dataobject.ability.AbilityDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface AbilityConvert {

    AbilityConvert INSTANCE = Mappers.getMapper(AbilityConvert.class);

    AbilityRespVO convert(AbilityDO bean);

    List<AbilityRespVO> convertList(List<AbilityDO> list);

}
